package root.entity.vo;

import java.util.List;

public class PageInfo {
	private int fenyepageindex=1;
	private int fenyepagemax=2;
	private int fenyepagesize=10;
	private List list;
	public int getFenyepageindex() {
		return fenyepageindex;
	}
	public void setFenyepageindex(int fenyepageindex) {
		this.fenyepageindex = fenyepageindex;
	}
	public int getFenyepagemax() {
		return fenyepagemax;
	}
	public void setFenyepagemax(int fenyepagemax) {
		this.fenyepagemax = fenyepagemax;
	}
	public int getFenyepagesize() {
		return fenyepagesize;
	}
	public void setFenyepagesize(int fenyepagesize) {
		this.fenyepagesize = fenyepagesize;
	}
	public List getList() {
		return list;
	}
	public void setList(List list) {
		this.list = list;
	}
	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + fenyepageindex;
		result = prime * result + fenyepagemax;
		result = prime * result + fenyepagesize;
		result = prime * result + ((list == null) ? 0 : list.hashCode());
		return result;
	}
	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		PageInfo other = (PageInfo) obj;
		if (fenyepageindex != other.fenyepageindex)
			return false;
		if (fenyepagemax != other.fenyepagemax)
			return false;
		if (fenyepagesize != other.fenyepagesize)
			return false;
		if (list == null) {
			if (other.list != null)
				return false;
		} else if (!list.equals(other.list))
			return false;
		return true;
	}
	@Override
	public String toString() {
		return "PageInfo [fenyepageindex=" + fenyepageindex + ", fenyepagemax=" + fenyepagemax + ", fenyepagesize="
				+ fenyepagesize + ", " + (list != null ? "list=" + list : "") + "]";
	}
	
//	bean 创建  自动生产语句
	
}
